﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<MedicalManagementSystem.Models.PatientChart>" %>
<%@ Import Namespace="MedicalManagementSystem.Utils" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Карта пациента
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Карта пациента <%=Model.Do(p=>p.LoadPatient()).Patient.Initials %></h2>
    
    <%Html.RenderPartial("PatientChartEditControl", Model); %>
    
    <%=Html.ActionLink("Вернуться к карте","Index",new {Model.id}) %>
    
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
